
public class e2colorpattern {

    int top;
    int right;
    int bottom;
    int left;
    int rotation;

    public e2colorpattern(int in_top, int in_right, int in_bottom, int in_left) {
        top = in_top;
        right = in_right;
        bottom = in_bottom;
        left = in_left;
        rotation = 0;
    }

    public e2colorpattern(int in_top, int in_right, int in_bottom, int in_left, int in_rotation) {
        top = in_top;
        right = in_right;
        bottom = in_bottom;
        left = in_left;
        rotation = in_rotation;
    }

    public void set_rotation(int in_rotation) {
        rotation = in_rotation;
    }
}
